package waylines.initializers
{
	import org.flintparticles.common.particles.Particle;
	import org.flintparticles.common.emitters.Emitter;
	import org.flintparticles.common.initializers.InitializerBase;

	public class HealthInitializer extends InitializerBase
	{
		private var health:int;
		public function HealthInitializer(health:int=100)
		{
			this.health = health;
		}
		override public function initialize( emitter : Emitter, particle : Particle ) : void
		{
			particle.dictionary["health"] = health;
		}
	}
}
